package yzserver.sx4a.domain;

import yzserver.sx4a.form.Position;
import yzserver.sx4a.form.PositionType;

/**
 * Created with IntelliJ IDEA.
 * User: andrew
 * Date: 14-8-15
 * Time: 上午10:27
 * To change this template use File | Settings | File Templates.
 */
public class PositionTypeDomain {
    private String POSITION_TYPEID; //岗位类型ID
    private String POSITION_TYPENAME;//岗位类型名称
    private String POSITION_TYPEPARENT;//岗位类型父ID
    private String DISPLAYNAME;//岗位类型全名
    private String OPUSER ;//操作人信息
    private String POSITION_TYPE_MUTUAL;//岗位类型互斥信息
    private String ENABLE;//状态（0是有效，1是失效）
    private String STARTDATE;//生效时间YYYY-MM-DD 如2010-03-08ATe
    private String ENDDATE;//失效时间YYYY-MM-DD 如2010-03-08E
    private String UPDATEDATE;//更新时间YYYY-MM-DD HH:MM:SS，如2010-03-08

    public PositionTypeDomain(){

    }

    public PositionTypeDomain(PositionType positionType) {
        this.POSITION_TYPEID = positionType.getPositionTypeid();
        this.POSITION_TYPENAME = positionType.getPositionTypename();
        this.POSITION_TYPEPARENT = positionType.getPositionTypeparent();
        this.DISPLAYNAME = positionType.getDisplayname();
        this.OPUSER = positionType.getOpuser();
        this.POSITION_TYPE_MUTUAL = positionType.getPositionTypeMutual();
        this.ENABLE = positionType.getEnable();
        this.STARTDATE = positionType.getStartdate();
        this.ENDDATE = positionType.getEnddate();
        this.UPDATEDATE = positionType.getUpdatedate();
    }

    public String getPOSITION_TYPEID() {
        return POSITION_TYPEID;
    }

    public void setPOSITION_TYPEID(String POSITION_TYPEID) {
        this.POSITION_TYPEID = POSITION_TYPEID;
    }

    public String getPOSITION_TYPENAME() {
        return POSITION_TYPENAME;
    }

    public void setPOSITION_TYPENAME(String POSITION_TYPENAME) {
        this.POSITION_TYPENAME = POSITION_TYPENAME;
    }

    public String getPOSITION_TYPEPARENT() {
        return POSITION_TYPEPARENT;
    }

    public void setPOSITION_TYPEPARENT(String POSITION_TYPEPARENT) {
        this.POSITION_TYPEPARENT = POSITION_TYPEPARENT;
    }

    public String getDISPLAYNAME() {
        return DISPLAYNAME;
    }

    public void setDISPLAYNAME(String DISPLAYNAME) {
        this.DISPLAYNAME = DISPLAYNAME;
    }

    public String getOPUSER() {
        return OPUSER;
    }

    public void setOPUSER(String OPUSER) {
        this.OPUSER = OPUSER;
    }

    public String getPOSITION_TYPE_MUTUAL() {
        return POSITION_TYPE_MUTUAL;
    }

    public void setPOSITION_TYPE_MUTUAL(String POSITION_TYPE_MUTUAL) {
        this.POSITION_TYPE_MUTUAL = POSITION_TYPE_MUTUAL;
    }

    public String getENABLE() {
        return ENABLE;
    }

    public void setENABLE(String ENABLE) {
        this.ENABLE = ENABLE;
    }

    public String getSTARTDATE() {
        return STARTDATE;
    }

    public void setSTARTDATE(String STARTDATE) {
        this.STARTDATE = STARTDATE;
    }

    public String getENDDATE() {
        return ENDDATE;
    }

    public void setENDDATE(String ENDDATE) {
        this.ENDDATE = ENDDATE;
    }

    public String getUPDATEDATE() {
        return UPDATEDATE;
    }

    public void setUPDATEDATE(String UPDATEDATE) {
        this.UPDATEDATE = UPDATEDATE;
    }
}
